package com.tuuzed.hydrogen;

import android.content.Context;
import android.database.sqlite.SQLiteDatabase;

import com.tuuzed.hydrogen.internal.HydrogenContext;

public class HydrogenInitializer {

    public static void initialize(Context context) {
        HydrogenContext.getDefault().initialize(context, null, null);
    }

    public static void initialize(Context context, SQLiteDatabase.CursorFactory factory) {
        HydrogenContext.getDefault().initialize(context, factory, null);
    }

    public static void initialize(Context context, UpgradeCallback callback) {
        HydrogenContext.getDefault().initialize(context, null, callback);
    }

    public static void destroy() {
        HydrogenContext.getDefault().destroy();
    }
}
